package com.goods.business.service;

import com.goods.common.model.business.Product;
import com.goods.common.model.business.ProductStock;
import com.goods.common.vo.business.ProductStockVO;
import com.goods.common.vo.business.ProductVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;
import java.util.Map;

public interface ProductService {
    List<Product> findProductList(String name,Integer status, Long[] categorys);

    void add(Product product);

    Product edit(Long id);

    void update(Long id, Product product);

    void remove(Long id);

    void delete(Long id);

    void back(Long id);

    void publish(Long id);

    List<ProductStockVO> findAllProductStocks(String name, Long[] categorys);
}
